<?php
require "image.class.php";
$src = "assets/01.jpg";
$image = new Image($src);
//$image->thumb(300,150);
$content = "hello";
$font_url = "assets/msyhl.ttc";
$size = 20;
$color = array(
    0 =>152,
    1 =>45,
    2 =>156,
    3 =>20
);
$local = array(
    'x' =>20,
    'y' =>30,
);
$angle = 10;
$image->fontMake($content,$font_url,$size,$color,$local,$angle);
$image->show();